package request

type TmallServicecenterServicestoreUpdatestatusRequest struct {
	/*
	   门店id     */
	Id *int64 `json:"id" required:"true" `
	/*
	   状态。1 营业，0歇业，-1彻底关店     */
	Status *int64 `json:"status,omitempty" required:"false" `
	/*
	   业务类型。不同业务传不同的值     */
	BizType *string `json:"biz_type" required:"true" `
}

func (s *TmallServicecenterServicestoreUpdatestatusRequest) SetId(v int64) *TmallServicecenterServicestoreUpdatestatusRequest {
	s.Id = &v
	return s
}
func (s *TmallServicecenterServicestoreUpdatestatusRequest) SetStatus(v int64) *TmallServicecenterServicestoreUpdatestatusRequest {
	s.Status = &v
	return s
}
func (s *TmallServicecenterServicestoreUpdatestatusRequest) SetBizType(v string) *TmallServicecenterServicestoreUpdatestatusRequest {
	s.BizType = &v
	return s
}

func (req *TmallServicecenterServicestoreUpdatestatusRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.Id != nil {
		paramMap["id"] = *req.Id
	}
	if req.Status != nil {
		paramMap["status"] = *req.Status
	}
	if req.BizType != nil {
		paramMap["biz_type"] = *req.BizType
	}
	return paramMap
}

func (req *TmallServicecenterServicestoreUpdatestatusRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
